package com.yuxi.dao;

import com.yuxi.entity.Account;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 操作数据库接口
 * Created by yuxi on 2017/5/11.
 */
@Repository
public interface IAccountDao {
    int add(Account account);

    int update(Account account);

    int delete(int id);

    Account findAccountById(int id);

    List<Account> findAccountList();
}
